﻿using System;
using System.Collections.Generic;
using System.Text;

namespace BusinessObjectLayer
{
    public class UserBOL
    {
        private short? userId;
        private string firstName;
        private string lastName;
        private string password;
        private string newPassword;
        private string email;
        private string userName;
        private bool isActive;
        private bool isAdmin;


        public short? UserId
        {
            get { return this.userId; }
            set { this.userId = value; }
        }
        public string FirstName
        {
            get { return firstName; }
            set { firstName = value; }
        }
        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }
        public string UserName
        {
            get { return this.userName; }
            set { this.userName = value; }
        }
        public string Password
        {
            get { return this.password; }
            set { this.password = value; }
        }
        public string NewPassword
        {
            get { return this.newPassword; }
            set { this.newPassword = value; }
        }
        public string Email
        {
            get { return email; }
            set { email = value; }
        }
        public bool IsActive
        {
            get { return isActive; }
            set { isActive = value; }
        }
        public bool IsAdmin
        {
            get { return this.isAdmin; }
            set { this.isAdmin = value; }
        }
        public UserBOL() { }
        public UserBOL(short? UserId, string FirstName, string LastName, string Password, string NewPassword, string Email, string UserName, bool IsActive, bool IsAdmin)
        {
            this.userId = UserId;
            this.firstName = FirstName;
            this.lastName = LastName;
            this.userName = UserName;
            this.password = Password;
            this.newPassword = NewPassword;
            this.email = Email;
            this.userName = UserName;
            this.isActive = IsActive;
            this.isAdmin = IsAdmin;            
        }
    }
}
